﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Messhall.Domain.Logger.BusinessObjects
{
    public abstract class LoggerBase
    {
        #region 成员变量

        /// <summary>
        /// KeyId
        /// </summary>
        public long KeyId { get; private set; }

        /// <summary>
        /// 类型
        /// </summary>
        public string Type { get; private set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; private set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; private set; } = DateTime.Now;

        #endregion

        public LoggerBase(long keyId, string type, string remark)
        {
            KeyId = keyId;
            Type = type;
            Remark = remark;
        }

    }
}
